<div class="layout fixed-top bg-white border-bottom" style="z-index: 9;">
    <div class="container">
        <div class="navbar" style="padding: 15px 0px;">
            <div class="navbar-head">
                <button class="button bg icon-navicon" data-target="#navbar-big1">
                </button>
                <a href="__ROOT__/" class="hidden-l">
                    {frag mark='logo'}
                </a>
            </div>
            <div class="navbar-body nav-navicon" id="navbar-big1">
                <ul class="nav nav-inline nav-menu nav-big">
                    <li {empty name="top_category_info.class_id"}class="active"{/empty}>
                        <a class="icon-home" href="__ROOT__/">首页</a>
                    </li>
                    <!--这段代码的意思是如果有子菜单会显示子菜单，否则不显示。-->
                    {catlist name="vo"}
                    <li {gt name="vo.child_num" value='0'} class="nav-more{eq name="top_category_info.class_id" value="$vo.class_id"} active{/eq}" {else} {eq name="top_category_info.class_id" value="$vo.class_id"}class="active"{/eq} {/gt}>
                        <a href="{$vo.curl}">{$vo.name}</a>
                        {gt name="vo.child_num" value='0'}
                        <ul class="drop-menu">
                            {php}$a=$vo['class_id'];{/php}
                            {catlist name="v" parent_id="$a"}
                            <li>
                                <a href="{$v.curl}">{$v.name}</a>
                            </li>
                            {/catlist}
                        </ul>
                        {/gt}
                    </li>
                    {/catlist}
                    <li>
                        <a href="{:url('Form/index',array('name'=>'guestbook'))}">留言板</a>
                    </li>
                </ul>
                <div class="navbar-text navbar-right">
                    <a class="box-shadow-small padding-small bg-green text-white"><span class="icon-puzzle-piece">
                        </span>&nbsp;注册 </a>&nbsp;
                    <a class="box-shadow-small padding-small bg-blue text-white" href="#"><span class="icon-sign-in"></span>&nbsp;登录 </a>&nbsp;
                </div>
                <div class="navbar-form navbar-right">
                    <form action="{:url('home/Search/index')}" method="post">
                        <input type="text" class="input input-auto radius-none" value="{$keyword|default=''}" name="keyword" size="15" placeholder="关键词">
                        <input type="submit" value="搜索" class="button radius-none">
                    </form>
                </div>
            </div>
        </div>
        <!--<div class="text3D hidden-l">
            壹凯：
            <a href="//shang.qq.com/wpa/qunwpa?idkey=31f713ee8afb94e4190a68a0a374d98b4304d6aa0c7ca7d4b2f8093fa7d59401" target="_blank">1kbcms.祝大家2017开心每一天.---源码获取请加QQ群：488649173。</a>
        </div>-->
    </div>
</div>